<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户</title>
    <#include "common.ftl">
    <style>
        body {
            background-color: #F2F2F2;;
        }
    </style>
</head>
<body>
<ul class="layui-nav" lay-filter="tab">
    <li class="layui-nav-item"><a href="${ctx}/index">首页</a></li>
    <li class="layui-nav-item"><a href="${ctx}/user/index">用户</a></li>
    <li class="layui-nav-item"><a href="${ctx}/permission/index">菜单</a></li>
    <li class="layui-nav-item"><a href="">学习</a></li>
    <li class="layui-nav-item layui-this"><a href="${ctx}/photo/index">相册</a></li>
    <li class="layui-nav-item"><a href="${ctx}/user/onLineUsers">在线用户</a></li>
    <li class="layui-nav-item"><a href="${ctx}/gen/index">代码生成</a></li>
    <li class="layui-nav-item" style="float: right"><a href="${ctx}/layout">退出</a></li>
</ul>
<div class="layui-fluid layadmin-maillist-fluid">
    <div class="layui-row layui-col-space15">
        <#if pathList?? && pathList?size gt 0>
            <#list pathList as path>
                <div class="layui-col-md4 layui-col-sm6">
                    <div class="layadmin-contact-box">
                        <div class="layui-col-md8 layadmin-padding-left20 layui-col-sm6">
                            <img width="300" height="300" src="${ctx}/photo/viewPhoto?path=${path}">
                        </div>
                    </div>
                </div>
            </#list>
            <#else >
                <div class="layui-col-md4 layui-col-sm6">
                <div class="layadmin-contact-box">
                    <div class="layui-col-md8 layadmin-padding-left20 layui-col-sm6">
                        <img src="${ctx}/static/images/character.jpg">
                    </div>
                </div>
            </div>
        </#if>
    </div>
</div>
<script>

</script>
</body>
</html>